package com.app.brilliant.game.mapper;

import com.app.brilliant.game.bean.BriUserPlan;
import com.app.brilliant.game.dto.UserPlanInfoDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author GF
* @description 针对表【bri_user_plan】的数据库操作Mapper
* @createDate 2025-08-27 16:12:02
* @Entity com.app.brilliant.game.bean.BriUserPlan
*/
public interface BriUserPlanMapper extends BaseMapper<BriUserPlan> {
    /**
     * 查询用户最新的已付费套餐信息
     * @param uid 用户ID
     * @return 套餐名称和保持天数
     */
    UserPlanInfoDTO getUserPlanInfo(Integer uid);
}
